home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / widget / r3selwin2.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  5.0 KB  |  168 lines

  1.  
  2. // JavaScript wrapper for r3selwin2.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_SELWIN2_H = 1;
  7. include("oops/r3window.js")
  8.  
  9.  
  10. var R3CLID_SELWIN2 = 1697;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Register section bit for the filer. This is needed to support 'copy to a
  16. //      file' and 'paste from a file' methods. Note: IFF is an international standard and IFF
  17. //      chunk ids should be unique world wide.
  18. // Returns: Boolean, true if succeeded. False indicates 'out of section bits'.
  19. // p1: Integer, model class
  20. // p3: Integer, ordnum of the section bit.
  21.  
  22. R3SELWIN2CM_REGISTERIFFID = 1697000;
  23.  
  24. function mR3SELWIN2CM_REGISTERIFFID(p1, p3) {
  25.   return   DoA2(this.r3obj, 1697000, p1, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
  26. }
  27.  
  28. // Description: Add an item to New submenu of material tab. Class method.
  29. // p1: Integer, class id if the material class
  30. // p3: String, name to be used in the popup menu
  31.  
  32. R3SELWIN2CM_REGISTERMATERIAL = 1697017;
  33.  
  34. function mR3SELWIN2CM_REGISTERMATERIAL(p1, p3) {
  35.   DoA2(this.r3obj, 1697017, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
  36. }
  37.  
  38. // Description: For R3WGA_DragSourceMth. Sent when an object is dragged from the select window.
  39.  
  40. R3SELWIN2M_DRAG = 1697018;
  41.  
  42. function mR3SELWIN2M_DRAG() {
  43.   DoA(this.r3obj, 1697018, 0, R3TID_INTEGER, 0);
  44. }
  45.  
  46. // Description: Add an item to New submenu of image effect tab. Class method.
  47. // p1: Integer, class id if the image effect class
  48. // p3: String, name to be used in the popup menu
  49.  
  50. R3SELWIN2CM_REGISTERIMAGEEFF = 1697019;
  51.  
  52. function mR3SELWIN2CM_REGISTERIMAGEEFF(p1, p3) {
  53.   DoA2(this.r3obj, 1697019, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
  54. }
  55.  
  56. // Description: Add an item to New submenu of particle effect tab. Class method.
  57. // p1: Integer, class id if the particle effect class
  58. // p3: String, name to be used in the popup menu
  59.  
  60. R3SELWIN2CM_REGISTERPARTICLE = 1697020;
  61.  
  62. function mR3SELWIN2CM_REGISTERPARTICLE(p1, p3) {
  63.   DoA2(this.r3obj, 1697020, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
  64. }
  65.  
  66. // Description: For internal map changes. Used for loading/saving selected objects    
  67.  
  68. R3SELWIN2M_CANDROPLIST = 1697028;
  69.  
  70. function mR3SELWIN2M_CANDROPLIST() {
  71.   DoA(this.r3obj, 1697028, 0, R3TID_INTEGER, 0);
  72. }
  73.  
  74. // Description: Class methods. Add an item to New submenu of the output tab.
  75. // Returns: Boolean, true if succeeded
  76. // p1: Integer, class id if the particle effect class
  77. // p3: String, name to be used in the popup menu
  78.  
  79. R3SELWIN2CM_REGISTERCHANNELC = 1697030;
  80.  
  81. function mR3SELWIN2CM_REGISTERCHANNELC(p1, p3) {
  82.   return   DoA2(this.r3obj, 1697030, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
  83. }
  84.  
  85. // Virtual method
  86.  
  87. R3SELWIN2M_was_load_sel_chor = 1697044;
  88.  
  89. function mR3SELWIN2M_was_load_sel_chor() {
  90.   DoA(this.r3obj, 1697044, 0, R3TID_INTEGER, 0);
  91. }
  92.  
  93. // Description: Register new choreography loader
  94. // Virtual method
  95. // Returns: Boolean, true if succeded.
  96.  
  97. R3SELWIN2CM_REGISTERCHOREOGR = 1697045;
  98.  
  99. function mR3SELWIN2CM_REGISTERCHOREOGR() {
  100.   return   DoA(this.r3obj, 1697045, 0, R3TID_INTEGER, 0);
  101. }
  102.  
  103. // Description: Class methods. Add an item to New submenu of the view model tab.
  104. // Returns: Boolean, true if succeeded
  105. // p1: Integer, class id of the view model class
  106. // p3: String, name to be used in the popup menu
  107.  
  108. R3SELWIN2CM_REGISTERVIEWMODE = 1697060;
  109.  
  110. function mR3SELWIN2CM_REGISTERVIEWMODE(p1, p3) {
  111.   return   DoA2(this.r3obj, 1697060, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
  112. }
  113.  
  114.  
  115.  
  116.  
  117. R3SELWIN2A_NoTab = 1697500;
  118. function SetR3SELWIN2A_NoTab(value) {
  119.   R3Set(this.r3obj, R3SELWIN2A_NoTab, value, R3TID_INTEGER, 0); 
  120. }
  121.  
  122. function GetR3SELWIN2A_NoTab() {
  123.   return R3Get(this.r3obj, R3SELWIN2A_NoTab, R3TID_INTEGER, 0); 
  124. }
  125.  
  126. R3SELWIN2A_ShowClass = 1697501;
  127. function SetR3SELWIN2A_ShowClass(value) {
  128.   R3Set(this.r3obj, R3SELWIN2A_ShowClass, value, R3TID_INTEGER, 0); 
  129. }
  130.  
  131. function GetR3SELWIN2A_ShowClass() {
  132.   return R3Get(this.r3obj, R3SELWIN2A_ShowClass, R3TID_INTEGER, 0); 
  133. }
  134.  
  135. R3SELWIN2A_BalanceTree = 1697507;
  136. function GetR3SELWIN2A_BalanceTree() {
  137.   return R3Get(this.r3obj, R3SELWIN2A_BalanceTree, R3TID_BOOLEAN, R3TNF_ARRAY); 
  138. }
  139.  
  140.  
  141.  
  142. function r3Selwin2 () { 
  143.    this.base = r3God;
  144.    if(arguments.length) {
  145.       this.base(R3CLID_SELWIN2, arguments);
  146.    }
  147.    // Methods
  148.    this.REGISTERIFFID=mR3SELWIN2CM_REGISTERIFFID;
  149.    this.REGISTERMATERIAL=mR3SELWIN2CM_REGISTERMATERIAL;
  150.    this.DRAG=mR3SELWIN2M_DRAG;
  151.    this.REGISTERIMAGEEFF=mR3SELWIN2CM_REGISTERIMAGEEFF;
  152.    this.REGISTERPARTICLE=mR3SELWIN2CM_REGISTERPARTICLE;
  153.    this.CANDROPLIST=mR3SELWIN2M_CANDROPLIST;
  154.    this.REGISTERCHANNELC=mR3SELWIN2CM_REGISTERCHANNELC;
  155.    this.was_load_sel_chor=mR3SELWIN2M_was_load_sel_chor;
  156.    this.REGISTERCHOREOGR=mR3SELWIN2CM_REGISTERCHOREOGR;
  157.    this.REGISTERVIEWMODE=mR3SELWIN2CM_REGISTERVIEWMODE;
  158.  
  159.    // Attributes
  160.    this.GetNoTab=GetR3SELWIN2A_NoTab;
  161.    this.SetNoTab=SetR3SELWIN2A_NoTab;
  162.    this.GetShowClass=GetR3SELWIN2A_ShowClass;
  163.    this.SetShowClass=SetR3SELWIN2A_ShowClass;
  164.    this.GetBalanceTree=GetR3SELWIN2A_BalanceTree;
  165. }
  166.  
  167. r3Selwin2.prototype=new r3Window;
  168. // r3selwin2.h_H